<?php /* Smarty version Smarty-3.0.6, created on 2015-03-19 15:58:45
         compiled from ".\templates\shops.tpl" */ ?>
<?php /*%%SmartyHeaderCode:9771550ae425b26744-81297581%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '4d9acef8bd530dc886b896c0513c15437c7def0c' => 
    array (
      0 => '.\\templates\\shops.tpl',
      1 => 1426776307,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '9771550ae425b26744-81297581',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php $_template = new Smarty_Internal_Template("header.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?> <?php $_template = new Smarty_Internal_Template("selectArea.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?> 
	<script>
		$(document).ready(function() {
			//To display the selected area
		 	 var selectedAreaName = sessionStorage.getItem("selectedAreaName");
		     document.getElementById("popId").text=selectedAreaName;
		   	//To display Login UserName
		     var selectedUserName = sessionStorage.getItem("selectedUserName");
		     document.getElementById("userNm").text=selectedUserName;
		});
	 </script>
       <table style="width: 900px; margin-left:12%">
       <tr>
       <td>
		<?php  $_smarty_tpl->tpl_vars['category'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('shop')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['category']->key => $_smarty_tpl->tpl_vars['category']->value){
?>
              <li onmouseover="this.style.border='1px solid #666'" onmouseout="this.style.border='1px solid #ccc'"
                     style="margin:25px 20px 10px 0;display: inline-block; border: 1px solid #ccc; background-color: #fff; text-align: center;"
			height="200px" width="200px"><a
                     href="/Project001/phpFiles/index.php?cat=<?php echo $_smarty_tpl->tpl_vars['category']->value['category_id'];?>
&cook=<?php echo $_smarty_tpl->getVariable('cookieVal')->value;?>
"> 
                     <img src="/Project001/phpFiles/images/5.jpg"
                           style="border: 1px solid #ccc; margin: 10px;" height="250px" width="250px" />
				<h4><?php echo $_smarty_tpl->tpl_vars['category']->value['category_name'];?>
</h4>
		</a>
              </li> 
       <?php }} ?>
       </td>
       </tr>
       </table>
 
<?php $_template = new Smarty_Internal_Template("footer.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
